* {
  list-style: none;
  text-decoration: none;
  padding: 0;
  margin: 0 auto;
}

.fl {
  float: left;
}

.fr {
  float: right;
}

.clean {
  overflow: hidden;
}

body {
  background-color: #f5f5f5;
}

button {
  width: 8%;
  height: 2rem;
  border: none;
  border-radius: 5px;
  background-color: #3D89CB;
  color: white;
  margin-left: 2%;
}

#box {
  width: 87.86%;
  height: 100%;
  text-align: center;
  .content {
    border: 1px solid #e5e5e5;
    //margin: 1%;
    width: 100%;
    padding-bottom: 3%;
    background-color: white;
    .search {
      width: 97%;
      //height: 4rem;
      line-height: 3rem;
      padding-left: 3%;
      overflow: hidden;
      text-align: left;
      margin-top: 2%;
      .name {
        width: 8%;
        border: 1px solid #e6e6e6;
        padding-left: 3px;
        height: 2rem;
        font-size: .8rem;
      }
      button {
        width: 8%;
        height: 2rem;
        border: none;
        border-radius: 5px;
        background-color: #3D89CB;
        color: white;
        margin-left: 2%;
      }
      select {
        margin-left: 2%;
        width: 8%;
        height: 2rem;
      }
    }
    table {
      margin-top: 2%;
      tr:hover {
        background-color: #F2F2F2;
      }
      th {
        height: 2rem;
        background-color: #F2F2F2;
        color: black;
        text-align: center !important;
      }
      td {
        height: 2rem;
        border-bottom: 1px solid #E6E6E6;
        button {
          width: 3rem;
          height: 1.6rem;
          border-radius: 3px;
          a {
            color: #fff;
            font-size: .8rem;
          }
        }
      }
    }
  }
}

.header {
  width: 100%;
  height: 5rem;
  background-color: #009688;
  .h_name {
    height: 5rem;
    line-height: 5rem;
    font-size: 18px;
    color: white;
    font-weight: bold;
    margin-left: 4%;
  }
  .username {
    height: 5rem;
    width: 10%;
    line-height: 5rem;
    font-size: 18px;
    color: white;
    img {
      width: 2.5rem;
      margin-left: 5%;
    }
  }
}

body {
  font-family: "微软雅黑";
  background: #eee;
}

.content h3 {
  text-align: left;
  padding: 1rem 2rem;
  font-size: 1.5rem;
  border-bottom: 1px solid #ccc;
  color: #3D89CB;
  margin-bottom: 1rem;
}

button {
  display: inline-block;
  padding: 6px 12px;
  font-weight: 400;
  line-height: 1.42857143;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 4px;
  border-color: #3D89CB;
  color: #fff;
  background-color: #3D89CB;
  //  margin: 20px 20px 0 0;
}

.box {
  width: 800px;
  margin: 100px auto 0;
  height: 34px;
}

.page {
  //width: 600px;
}

.info {
  width: 200px;
  height: 34px;
  line-height: 34px;
}

.fl {
  float: left;
}

.fixed-sidebar .navbar-static-side {
  //  width: 10% !important;
}

//==============时间插件===============
.demo-input {
  padding-left: 5px;
  height: 2rem;
  width: 8%;
  line-height: 2rem;
  border: 1px solid #e6e6e6;
  background-color: #fff;
  border-radius: 2px;
}

.demo-footer {
  padding: 50px 0;
  color: #999;
  font-size: 14px;
}

.demo-footer a {
  padding: 0 5px;
  color: #009688;
}

select {
  width: 5rem;
  height: 2rem;
}

//================移动端配适===============

@media screen and (max-width: 600px) {
  #luo_status {
    left: 107px !important;
  }

  body {
    font-size: .5rem !important;

  }

  .content h3 {
    text-align: left;
    padding: .5rem 1rem;
    font-size: 1rem;
    border-bottom: 1px solid #ccc;
    color: #009688;
    margin-bottom: .5rem;
  }

  .layui-layout-admin .layui-body {
    width: 120% !important;
  }

  .layui-body {
    width: 120% !important;
  }

  body.fixed-sidebar .navbar-static-side,
  body.canvas-menu .navbar-static-side {
    /* position: fixed;*/
    width: 20% !important;
  }

  .s_button {
    width: 10% !important;
    height: 1.5rem !important;
  }

  .mask .register {
    width: 70% !important;
    left: 15% !important;
    top: 12% !important;
    ul li {
      padding: 15px 10px;
    }
  }

  .mask .register ul li .regSpan {
    width: 20% !important;
  }

  .mask .register ul li input[type=text] {
    width: 70% !important;
    height: 2rem !important;
    line-height: 2rem !important;
  }

  button {
    //      width: 30% !important;
    //      height: 1.5rem !important;
    font-size: .5rem !important;

    a {
      font-size: .5rem !important;
    }
  }

  .layui-btn {
    line-height: 1.5rem !important;
    padding: 0 !important;
  }

  .search {
    button {
      height: 1.5rem !important;
      width: 10% !important;
    }
    select {
      width: 13% !important;
      height: 1.5rem !important;
    }
  }

  .search input {
    width: 10% !important;
    height: 1.5rem !important;
    font-size: .5rem !important;
  }

  .demo-input {
    padding-left: 3px;
  }

  .search #choose {
    width: 3rem !important;
    height: 1.5rem !important;
  }

  .h_name {
    font-size: .5rem !important;
  }

  .username {
    font-size: .5rem !important;
    width: 26% !important;
    img {
      width: 2rem !important;
    }
  }

  #box {
    width: 100% !important;
  }

  .layui-header {
    width: 150%;
  }

  .navbar-header {
    display: block;
  }

  .nav-second-level li a {
    padding-left: 0px !important;
    padding: .5rem 0px !important;
    text-align: center;
  }

  label {
    font-size: .5rem !important;
  }

  .content ul {
    width: 90% !important;
    input {
      height: 1rem !important;
      width: 40% !important;
    }
    button {
      width: 30% !important;
      height: 1.5rem !important;
      line-height: 1.5rem !important;
    }
  }

  .layui-layout-admin .layui-side {
    width: 30% !important;
  }

  .layui-side {
    position: absolute !important;
  }

  .layui-body {
    left: 30% !important;
  }

  #riqi {
    padding-left: 3px !important;
    width: 12% !important;
  }
}

#mask {
  display: none;
  position: fixed;
  z-index: 9;
  background-color: rgb(0, 0, 0);
  opacity: 0.3;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.modify {
  background-color: #fff;
  z-index: 10;
  width: 20rem;
  height: 10rem;
  position: fixed;
  top: 50%;
  left: 50%;
  margin-top: -4rem;
  margin-left: -8rem;
  h3 {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    padding: .6rem 0;
    background-color: #F8F8F8;
    border-bottom: 1px solid #eee;
  }
  .md_ipt {
    margin: 1rem 0;
    input {
      padding-left: .2rem;
      width: 60%;
      height: 1.5rem;
    }
  }
  .md_btn button {
    border: 0px;
    padding: 6px 12px;
    margin: 0 1rem;
  }
  .md_btn .cancel {
    background-color: #eee;
    color: #fff;
    border: 0;
  }
}

#chapter, #add {
  display: none;
  .modify {
    width: 24rem;
    height: 14rem;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -7rem;
    margin-left: -12rem;
    .md_time {
      width: 44%;
    }
  }
}

#title {
  display: none;
}

.ipt {
  width: 8rem;
  height: 28px;
}

.btn {
  background-color: #3D89CB;
  color: #fff;
  padding: 6px 16px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

.btn a {
  color: #fff;
}

.ui-pagination-container {
  margin-top: 1rem;
}

.course_commit, .disRecommend {
  color: #fff;
  background-color: #3D89CB;
  padding: 4px 8px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  cursor: pointer;
}

.course_commit:first-child {
  background-color: #3D89CB;
  margin-right: 4px;
}

.course_commit:nth-child(2) {
  background-color: #f70d12;
}

.course_commit:nth-child(3) {
  background-color: #ccc;
}

.w5 {
  width: 8rem;
}

.newadd label {
  padding: 10px 0;
  display: block;
  text-align: left;
  .newadd label .adtitle {
    display: inline-block;
    width: 6rem;
    text-align: right;
    padding-right: 2%;
  }

  .newadd input {
    padding: 0 10px;
    width: 20%;
    height: 30px;
    line-height: 30px;
    border: 1px solid #dcdcdc;
    border-radius: 5px;
  }
}

.ccc {
  border-color: #ccc;
  background-color: #ccc;
}

.red {
  border-color: #f70d12;
  background-color: #f70d12;
}

.green {
  border-color: #04c704;
  background-color: #04c704;
  margin-left: 4px;
}
.userList button{
  width: 4rem !important;
}
.btn1,.btn2{
  width: 4rem;
}